package com.seari.vehbaseP.utils;

import java.time.LocalDateTime;

public class LocalDateTimeUtils {

    public static int countNumHoursOfDay() {
        LocalDateTime localDateTime = LocalDateTime.now();
        int hour = localDateTime.getHour();
        return hour;
    }

    public static void main(String[] args) {
        int i = LocalDateTimeUtils.countNumHoursOfDay();
        System.out.println("i = " + i);
    }
}
